<%--
  Created by IntelliJ IDEA.
  User: ZYT
  Date: 2015/6/17
  Time: 18:49
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>


<html>
<head>
    <title></title>
</head>
<body>
<form:form action="login.action.do" method="get" commandName="model">
    <table border="1">
        <tr>
            <td>
                用户名：
            </td>
            <td>
                <input type="text" value="${user.username}" name="username"><form:errors path="username"></form:errors>
            </td>
        </tr>
        <tr>
            <td>
                密码：
            </td>
            <td>
                <input type="password" value="${user.password}" name="password"><form:errors
                    path="password"></form:errors>
            </td>
        </tr>

    </table>
    <input type="submit" value="登陆">
</form:form>
</body>
</html>
